<script setup lang="ts">
import {useLoginStore} from "@/stores";

const store = useLoginStore();

function haspermission(allowance: string[]) {
  return allowance.indexOf(store.role) !== -1;
}
</script>

<template>
  <h1 style="text-align: center">首页</h1>
  <h2 style="text-align: center">
    欢迎来到药品进销存管理系统
  </h2>
</template>

<style scoped>

</style>